package com.liming.common.pojo.vo.aftersales;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * @author liming
 * @date 2025/3/13
 */
@Data
@Schema(description = "客户评论VO")
public class CustomerReviewVO {

    @Schema(description = "客户评论id")
    private Long id;

    @Schema(description = "用户昵称")
    private String userNickname;

    @Schema(description = "用户头像")
    private String avatar;

    @Schema(description = "商品名称")
    private String productName;

    @Schema(description = "订单号")
    private String orderNo;

    @Schema(description = "评论内容")
    private String reviewText;

    @Schema(description = "商家回复")
    private String replyText;

    @Schema(description = "商家回复时间")
    private LocalDateTime replyTime;

    @Schema(description = "评分")
    private Float rating;

    @Schema(description = "评论类型")
    private Integer type;

    @Schema(description = "是否匿名 0 表示实名，1 表示匿名")
    private Integer anonymous;

    @Schema(description = "是否回复 0 表示未回复，1 表示已回复")
    private Integer reply;

    @Schema(description = "评论时间")
    private LocalDateTime createTime;
}
